package uk.ac.aber.paws.client.constants;

/**
 * @author Rob Johnson, Aberystwyth University
 * @email rob.johnson@aber.ac.uk
 * @date 16th August 2011
 * 
 * Constants.java
 * 
 * Contains all generic constants used within the application
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

public class Constants {
    
	/**
	 * The version of the PAWS Client software
	 */
	public static final String VERSION = "2.95";
	
	
	/**
	 * Used by the configuration manager when the requested property is not found
	 */
    public static final String UNDEFINED = "undefined";
     
    public static final String OS_FLAG_WINDOWS7 = "WINDOWS 7";
    public static final String OS_FLAG_WINDOWSVISTA = "WINDOWS VISTA";
    public static final String OS_FLAG_WINDOWSXP = "WINDOWS XP"; 
    public static final String OS_FLAG_MAC = "MAC OS X";
    public static final String OS_FLAG_LINUX = "LINUX";
   
    public static final int RUNJOB_MONITOR_USER_LOGINS = 1;
    public static final int RUNJOB_START_SERVERSOCKET_LISTENER = 3;
    public static final int RUNJOB_START_INPUT_SIMULATOR = 4;
    public static final int RUNJOB_START_WAKE_DETECTOR = 5;
    public static final int RUNJOB_PARSE_SAVED_DB_CONNECTIONS = 6;
    public static final int RUNJOB_PARSE_QUEUED_CONNECTIONS = 7;
    public static final int RUNJOB_MONITOR_LAST_IDLE_TIME = 8;
    public static final int RUNJOB_CHECK_FOR_UPDATE = 9;
    public static final int RUNJOB_CHECK_FOR_DOWNLOADED_UPDATE = 10;
    public static final int RUNJOB_START_INSECURESERVERSOCKET_LISTENER = 11;
    public static final int RUNJOB_HEALTH_CHECK = 12;
    public static final int RUNJOB_IDLE_SESSIONS_CLEANUP = 13;
    
    public static final int PENDRIVE_IDENTIFIER_ID = 2;
    
    public static final String WINDOWS_SERVICE_SHUTDOWN_CODE = "5";
    public static final String WINDOWS_SERVICE_SERVICERESTART_CODE = "1";
    

    public static final String SERVERCALL_NEW_LOGIN_SESSION = "Sessions_New";
    public static final String SERVERCALL_REGISTER_NETWORK_CREDS = "ClientRegistrations_SetWithVersion";
    public static final String SERVERCALL_GET_COMPUTER_REGISTERED = "Custom_IsComputerRegistered";
    
    
    
}
